package com.mmall.service;

import com.mmall.common.ServerResponse;

/**
 * @author cg.hu
 * @version 1.0.0
 * @date 2021-09-23 13:29
 * @description 购物车相关接口
 * @since 1.0.0
 */
public interface ICartService {

    ServerResponse add(Integer userId, Integer count, Integer productId);

    ServerResponse update(Integer userId, Integer count, Integer productId);

    ServerResponse deleteProduct(Integer userId, String productIds);

    ServerResponse list(Integer userId);

    ServerResponse selectOrUnSelect(Integer userId, Integer checked, Integer productId);

    ServerResponse getCartProductCount(Integer userId);

}
